package com.tarena.lbs.activity.dao.repository;

import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;

import java.util.List;

public interface ActivityRepository {

    void insert(ActivityPO activity);

    ActivityVO selectByActivityId(Integer id);

    List<ActivityVO> selectList();

    void updateActivityStatus(ActivityPO activity);

    void delete(Integer id);

    List<ActivityVO> selectActivity(ActivityQuery query);
}
